﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000807 RID: 2055
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueTalentInfoScRsp : IMessage<GetRogueTalentInfoScRsp>, IMessage, IEquatable<GetRogueTalentInfoScRsp>, IDeepCloneable<GetRogueTalentInfoScRsp>, IBufferMessage
	{
		// Token: 0x17001A13 RID: 6675
		// (get) Token: 0x06005C24 RID: 23588 RVA: 0x000F6F9F File Offset: 0x000F519F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueTalentInfoScRsp> Parser
		{
			get
			{
				return GetRogueTalentInfoScRsp._parser;
			}
		}

		// Token: 0x17001A14 RID: 6676
		// (get) Token: 0x06005C25 RID: 23589 RVA: 0x000F6FA6 File Offset: 0x000F51A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueTalentInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001A15 RID: 6677
		// (get) Token: 0x06005C26 RID: 23590 RVA: 0x000F6FB8 File Offset: 0x000F51B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueTalentInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06005C27 RID: 23591 RVA: 0x000F6FBF File Offset: 0x000F51BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueTalentInfoScRsp()
		{
		}

		// Token: 0x06005C28 RID: 23592 RVA: 0x000F6FC8 File Offset: 0x000F51C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueTalentInfoScRsp(GetRogueTalentInfoScRsp other) : this()
		{
			this.talentInfoList_ = ((other.talentInfoList_ != null) ? other.talentInfoList_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005C29 RID: 23593 RVA: 0x000F7014 File Offset: 0x000F5214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueTalentInfoScRsp Clone()
		{
			return new GetRogueTalentInfoScRsp(this);
		}

		// Token: 0x17001A16 RID: 6678
		// (get) Token: 0x06005C2A RID: 23594 RVA: 0x000F701C File Offset: 0x000F521C
		// (set) Token: 0x06005C2B RID: 23595 RVA: 0x000F7024 File Offset: 0x000F5224
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTalentInfoList TalentInfoList
		{
			get
			{
				return this.talentInfoList_;
			}
			set
			{
				this.talentInfoList_ = value;
			}
		}

		// Token: 0x17001A17 RID: 6679
		// (get) Token: 0x06005C2C RID: 23596 RVA: 0x000F702D File Offset: 0x000F522D
		// (set) Token: 0x06005C2D RID: 23597 RVA: 0x000F7035 File Offset: 0x000F5235
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06005C2E RID: 23598 RVA: 0x000F703E File Offset: 0x000F523E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueTalentInfoScRsp);
		}

		// Token: 0x06005C2F RID: 23599 RVA: 0x000F704C File Offset: 0x000F524C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueTalentInfoScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.TalentInfoList, other.TalentInfoList) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005C30 RID: 23600 RVA: 0x000F709C File Offset: 0x000F529C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.talentInfoList_ != null)
			{
				num ^= this.TalentInfoList.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005C31 RID: 23601 RVA: 0x000F70F1 File Offset: 0x000F52F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005C32 RID: 23602 RVA: 0x000F70F9 File Offset: 0x000F52F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005C33 RID: 23603 RVA: 0x000F7104 File Offset: 0x000F5304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this.talentInfoList_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.TalentInfoList);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005C34 RID: 23604 RVA: 0x000F7160 File Offset: 0x000F5360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.talentInfoList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TalentInfoList);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005C35 RID: 23605 RVA: 0x000F71B8 File Offset: 0x000F53B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueTalentInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.talentInfoList_ != null)
			{
				if (this.talentInfoList_ == null)
				{
					this.TalentInfoList = new RogueTalentInfoList();
				}
				this.TalentInfoList.MergeFrom(other.TalentInfoList);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005C36 RID: 23606 RVA: 0x000F7220 File Offset: 0x000F5420
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005C37 RID: 23607 RVA: 0x000F722C File Offset: 0x000F542C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.talentInfoList_ == null)
						{
							this.TalentInfoList = new RogueTalentInfoList();
						}
						input.ReadMessage(this.TalentInfoList);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040023A2 RID: 9122
		private static readonly MessageParser<GetRogueTalentInfoScRsp> _parser = new MessageParser<GetRogueTalentInfoScRsp>(() => new GetRogueTalentInfoScRsp());

		// Token: 0x040023A3 RID: 9123
		private UnknownFieldSet _unknownFields;

		// Token: 0x040023A4 RID: 9124
		public const int TalentInfoListFieldNumber = 14;

		// Token: 0x040023A5 RID: 9125
		private RogueTalentInfoList talentInfoList_;

		// Token: 0x040023A6 RID: 9126
		public const int RetcodeFieldNumber = 6;

		// Token: 0x040023A7 RID: 9127
		private uint retcode_;
	}
}
